<template>
	<view>
		<block v-for="(item,index) in settinglist" :key="index" class="setting-list">
			<me-list :item="item"></me-list>
		</block>
		<view class="signBtn">
			<button type="default" class="setting-btn">退出登录</button>
		</view>
		
	</view>
</template>

<script>
	import meList from '../../components/me/me-list.vue'
	export default {
		components: {
			meList
		},
		data() {
			return {
				settinglist: [{
						name: '账号与安全',
						url: '../../pages/me/me-set-password',
						linkType: 'navigateTo'
					},
					{
						name: '绑定邮箱',
						url: '',
						linkType: ''
					},
					{
						name: '资料编辑',
						url: '../../pages/me/me-set-userinfo',
						linkType: 'navigateTo'
					},
					{
						name: '小纸条',
						url: '',
						linkType: ''
					},
					{
						name: '清除缓存',
						url: '',
						linkType: 'clean'
					},
					{
						name: '意见反馈',
						url: '../../pages/me/me-set-feedback',
						linkType: 'navigateTo'
					},
					{
						name: '关于我们',
						url: '../../pages/me/me-set-about',
						linkType: 'navigateTo'
					},
				]
			}
		}
	}
</script>

<style>
	.setting-list{
		border-bottom: 1px solid #F8F8F8;
	}
	.signBtn{
		margin-top: 50upx;
	}
	.setting-btn{
		background-color: #FFE933;
		margin: 0 20upx;
	}
</style>
